.class Lcom/esfile/screen/recorder/videos/edit/player/c$p;
.super Ljava/lang/Object;
.source "VideoRenderPlayer.java"

# interfaces
.implements Landroid/widget/SeekBar$OnSeekBarChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/esfile/screen/recorder/videos/edit/player/c;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "p"
.end annotation


# instance fields
.field a:Landroid/widget/SeekBar$OnSeekBarChangeListener;

.field final synthetic b:Lcom/esfile/screen/recorder/videos/edit/player/c;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/videos/edit/player/c;Landroid/widget/SeekBar$OnSeekBarChangeListener;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->a:Landroid/widget/SeekBar$OnSeekBarChangeListener;

    return-void
.end method


# virtual methods
.method public onProgressChanged(Landroid/widget/SeekBar;IZ)V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->d(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    if-eqz v0, :cond_11

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->d(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    if-gtz v0, :cond_0

    goto/16 :goto_4

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->f(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    if-nez v0, :cond_1

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->a:Landroid/widget/SeekBar$OnSeekBarChangeListener;

    invoke-interface {v0, p1, p2, p3}, Landroid/widget/SeekBar$OnSeekBarChangeListener;->onProgressChanged(Landroid/widget/SeekBar;IZ)V

    return-void

    .line 4
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->d(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    invoke-interface {v0}, Les/td;->getDuration()I

    move-result v0

    .line 5
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v1

    const/4 v2, 0x0

    if-eqz v1, :cond_2

    .line 6
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v1

    invoke-interface {v1}, Les/td;->getDuration()I

    move-result v1

    add-int/2addr v1, v2

    .line 7
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v3}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v3

    invoke-interface {v3}, Les/td;->getDuration()I

    move-result v3

    add-int/2addr v0, v3

    goto :goto_0

    :cond_2
    const/4 v1, 0x0

    :goto_0
    if-ge p2, v1, :cond_6

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    if-eqz v0, :cond_3

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    invoke-interface {v0, p2}, Les/td;->seekTo(I)V

    .line 10
    :cond_3
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->f(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object p2

    if-eqz p2, :cond_4

    .line 11
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->f(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object p2

    invoke-interface {p2, v2}, Les/td;->seekTo(I)V

    :cond_4
    if-eqz p3, :cond_10

    .line 12
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(Lcom/esfile/screen/recorder/videos/edit/player/c;)Z

    move-result p2

    if-eqz p2, :cond_5

    .line 13
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    invoke-static {p2, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/videos/edit/player/c;Les/td;)V

    goto/16 :goto_3

    .line 14
    :cond_5
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-virtual {p2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->m()V

    goto/16 :goto_3

    :cond_6
    if-le p2, v0, :cond_b

    .line 15
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v2

    if-eqz v2, :cond_7

    .line 16
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v2

    invoke-interface {v2, v1}, Les/td;->seekTo(I)V

    .line 17
    :cond_7
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->f(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v2

    if-eqz v2, :cond_8

    .line 18
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->f(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v2

    sub-int/2addr p2, v0

    invoke-interface {v2, p2}, Les/td;->seekTo(I)V

    :cond_8
    if-eqz p3, :cond_a

    .line 19
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(Lcom/esfile/screen/recorder/videos/edit/player/c;)Z

    move-result p2

    if-eqz p2, :cond_9

    .line 20
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->f(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v2

    invoke-static {p2, v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/videos/edit/player/c;Les/td;)V

    goto :goto_1

    .line 21
    :cond_9
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-virtual {p2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->m()V

    :cond_a
    :goto_1
    sub-int v2, v0, v1

    goto :goto_3

    .line 22
    :cond_b
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    if-eqz v0, :cond_c

    .line 23
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->e(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    invoke-interface {v0, v1}, Les/td;->seekTo(I)V

    .line 24
    :cond_c
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->f(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    if-eqz v0, :cond_d

    .line 25
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->f(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v0

    invoke-interface {v0, v2}, Les/td;->seekTo(I)V

    :cond_d
    if-eqz p3, :cond_f

    .line 26
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(Lcom/esfile/screen/recorder/videos/edit/player/c;)Z

    move-result v0

    if-eqz v0, :cond_e

    .line 27
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->d(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/td;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/videos/edit/player/c;Les/td;)V

    goto :goto_2

    .line 28
    :cond_e
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->m()V

    :cond_f
    :goto_2
    sub-int v2, p2, v1

    .line 29
    :cond_10
    :goto_3
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->a:Landroid/widget/SeekBar$OnSeekBarChangeListener;

    invoke-interface {p2, p1, v2, p3}, Landroid/widget/SeekBar$OnSeekBarChangeListener;->onProgressChanged(Landroid/widget/SeekBar;IZ)V

    .line 30
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->b:Lcom/esfile/screen/recorder/videos/edit/player/c;

    iget-object p2, p1, Lcom/esfile/screen/recorder/videos/edit/player/c;->i:Lcom/esfile/screen/recorder/videos/edit/player/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->h(Lcom/esfile/screen/recorder/videos/edit/player/c;)Z

    move-result p1

    invoke-virtual {p2, p1}, Lcom/esfile/screen/recorder/videos/edit/player/b;->setPlayState(Z)V

    :cond_11
    :goto_4
    return-void
.end method

.method public onStartTrackingTouch(Landroid/widget/SeekBar;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->a:Landroid/widget/SeekBar$OnSeekBarChangeListener;

    invoke-interface {v0, p1}, Landroid/widget/SeekBar$OnSeekBarChangeListener;->onStartTrackingTouch(Landroid/widget/SeekBar;)V

    return-void
.end method

.method public onStopTrackingTouch(Landroid/widget/SeekBar;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$p;->a:Landroid/widget/SeekBar$OnSeekBarChangeListener;

    invoke-interface {v0, p1}, Landroid/widget/SeekBar$OnSeekBarChangeListener;->onStopTrackingTouch(Landroid/widget/SeekBar;)V

    return-void
.end method
